a=[pow(i,2) for i in range(1,11)]
print(sum(a))